package org.praisebase.pbpj.component;

/**
 *
 * @author Nicolas Perrenoud <nicu@lavine.ch>
 */
public class SongAuthor {

	public enum SongAuthorType {
		words,
		music,
		translator						
	}
	
	private String author;
	private String language;
	private SongAuthorType type;

	public SongAuthor() {
	}	
	
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public SongAuthorType getType() {
		return type;
	}

	public void setType(SongAuthorType type) {
		this.type = type;
	}
	
	@Override
	public String toString() {
		return getAuthor() + " ["+getType()+","+ getLanguage()+"]";
	}
}